﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;

namespace XNOgre.Graphics
{
    public class RenderOperation
    {
        public VertexBuffer VertexData { get; set; }

        public int VertexStartIndex { get; set; }

        public PrimitiveType OperationType { get; set; }

        public bool UseIndices
        {
            get
            {
                return IndexData != null;
            }
        }
        public int IndexStartIndex { get; set; }

        public IndexBuffer IndexData { get; set; }

        public int VertexCount { get; set; }
        public int PrimCount { get; set; }
    }
}
